package com.team11.server.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author pjc
 * @since 2021-06-12
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_information")
@ApiModel(value="TInformation对象", description="")
public class TInformation implements Serializable {

    @ApiModelProperty(value = "教师id")
    @TableId(value = "t_id", type = IdType.AUTO)
    private Integer tId;

    @ApiModelProperty(value = "教师工号")
    @TableField(value = "t_job_number")
    private String tJobNumber;

    @ApiModelProperty(value = "教师姓名")
    @TableField("t_name")
    private String tName;

    @ApiModelProperty(value = "身份证号")
    @TableField("t_id_number")
    private String tIdNumber;

    @ApiModelProperty(value = "性别（0为女，1为男）")
    @TableField("t_gender")
    private Integer tGender;

    @ApiModelProperty(value = "手机号")
    @TableField("t_phone")
    private String tPhone;

    @ApiModelProperty(value = "职位")
    @TableField("t_position")
    private String tPosition;

    @ApiModelProperty(value = "状态（1为有效，0为无效）")
    @TableField("t_state")
    private int tState;
}
